package com.tanhua.dubbo.api;


import com.tanhua.dubbo.pojo.QuestionUserLock;

import java.util.List;

public interface QuestionUserLockApi {
    List<QuestionUserLock> selectList(Long userId);

    QuestionUserLock queryOneByQuestionnaireId(Long questionnaireId);

    void updateByQuestionnaireId(QuestionUserLock questionUserLock,Long questionnaireId);

    void updateByUserId(Long userId,QuestionUserLock questionUserLock,Long questionnaireId);

    void insert(QuestionUserLock questionUserLock);
}
